/*-------------------------------------------------------------------------
 *
 * visibilitymapdefs.h
 *		访问可见性图页面内容的宏
 *
 *
 * Copyright (c) 2021-2022, PostgreSQL Global Development Group
 *
 * src/include/access/visibilitymapdefs.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef VISIBILITYMAPDEFS_H
#define VISIBILITYMAPDEFS_H

/* 一个堆页面的位数 */
#define BITS_PER_HEAPBLOCK 2

/* 位图的标志 */
#define VISIBILITYMAP_ALL_VISIBLE	0x01
#define VISIBILITYMAP_ALL_FROZEN	0x02
#define VISIBILITYMAP_VALID_BITS	0x03	/* 所有有效可见性地图的
											 * 标志位的 OR */

#endif							/* VISIBILITYMAPDEFS_H */
